<?php


	require_once 'simple_html_dom.php';

	$html = file_get_html('http://www.chinacaipu.com/html/tudoushaoji.html');
	
	$title = $html->find('div[id=attitle]', 0).innertext;
	$title = iconv('gb2312', 'utf-8', $title);
	echo $title;
	
	$content = $html->find('div[id=content]', 0).innertext;
	echo '\r\n';
	$content = iconv('gb2312', 'utf-8', $content);
	echo $content;
	echo '\r\n';
?>